package com.tc.service;

import com.github.pagehelper.PageInfo;
import com.tc.pojo.AdvertisingIMG;

import java.util.List;

/****
 * @Author:admin
 * @Description:AdvertisingIMG业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface AdvertisingIMGService {

    /***
     * AdvertisingIMG多条件分页查询
     * @param advertisingIMG
     * @param page
     * @param size
     * @return
     */
    PageInfo<AdvertisingIMG> findPage(AdvertisingIMG advertisingIMG, int page, int size);

    /***
     * AdvertisingIMG分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<AdvertisingIMG> findPage(int page, int size);

    /***
     * AdvertisingIMG多条件搜索方法
     * @param advertisingIMG
     * @return
     */
    List<AdvertisingIMG> findList(AdvertisingIMG advertisingIMG);

    /***
     * 删除AdvertisingIMG
     * @param id
     */
    void delete(Integer id);

    /***
     * 修改AdvertisingIMG数据
     * @param advertisingIMG
     */
    void update(AdvertisingIMG advertisingIMG);

    /***
     * 新增AdvertisingIMG
     * @param advertisingIMG
     */
    void add(AdvertisingIMG advertisingIMG);

    /**
     * 根据ID查询AdvertisingIMG
     * @param id
     * @return
     */
     AdvertisingIMG findById(Integer id);

    /***
     * 查询所有AdvertisingIMG
     * @return
     */
    List<AdvertisingIMG> findAll();
}
